package com.zt.myapplication;

/**
 * Created by 35049 on 2017/4/2.
 */

public class Add {
    public int add(int a, int b) {
        if (a > b) {
            return a-b;
        } else if (a == b) {
            return 2;
        } else {
            return a+b;
        }
    }
}
